package com.onesports.intelligent.k12.polarlight.domain.vo.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author Wsy
 **/
@Data
@ApiModel("通用树VO")
public class TreeVO{


    @ApiModelProperty("节点id")
    private String id;

    @ApiModelProperty("节点父id")
    private String parentId;

    @ApiModelProperty("节点名称")
    private String label;

    private Integer sort;

    @ApiModelProperty("节点的子树")
    private List<TreeVO> children;

}
